Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DA5-22: Distribution and validation of draft transactions #1413

Conversation

julia-filipczak
Copy link
Contributor

@julia-filipczak julia-filipczak commented Dec 18, 2023

Adding draft transaction send/receive UTXO ledger functionality
Runtime-os pr: corda/corda-runtime-os#5295

https://r3-cev.atlassian.net/browse/DI-4

…idation-of-draft-transactions

# Conflicts:
#	gradle.properties
#	ledger/ledger-utxo/scans/corda-ledger-utxo-5.2.0.yaml
@corda-jenkins-ci02
Copy link
Contributor

corda-jenkins-ci02 bot commented Dec 18, 2023

Jenkins build for PR 1413 build 14

Build Successful:
Jar artifact version produced by this PR: 5.2.0.27-alpha-1704726096527

@corda-jenkins-ci02
Copy link
Contributor

corda-jenkins-ci02 bot commented Dec 18, 2023

Scanning for breaking API changes introduced by this PR

Scan Succeeded

@corda-jenkins-ci02
Copy link
Contributor

corda-jenkins-ci02 bot commented Dec 18, 2023

Non-blocking downstream job failed for corda-non-functional-test

https://ci02.dev.r3.com/job/Corda5/job/corda-api-compatibility/job/PR-1413/6/ has failed for PR 1413 build 6

Please investigate if your changes may have broken compilation on https://github.com/corda/corda-non-functional-test

@corda-jenkins-ci02
Copy link
Contributor

corda-jenkins-ci02 bot commented Dec 18, 2023

Non-blocking downstream job failed for corda-e2e-test

https://ci02.dev.r3.com/job/Corda5/job/corda-api-compatibility/job/PR-1413/6/ has failed for PR 1413 build 6

Please investigate if your changes may have broken compilation on https://github.com/corda/corda-e2e-tests

*
* @param sessions The counterparties who receive the transaction.
* @param signedTransaction The {@link UtxoSignedTransaction} to send.
* @throws CordaRuntimeException If transaction verification fails on the receiving sessions.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not think this applies to this case.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this referring to this part of the flow?
val sendingTransactionResult = it.receive(Payload::class.java) if (sendingTransactionResult is Payload.Failure) { throw CordaRuntimeException( sendingTransactionResult.message ) }

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. That propagates back the exceptions to the receiver side.
But Transaction verification cannot fail since it does not happen in the receive.

@@ -5,7 +5,7 @@ cordaProductVersion = 5.2.0
# NOTE: update this each time this module contains a breaking change
## NOTE: currently this is a top level revision, so all API versions will line up, but this could be moved to
## a per module property in which case module versions can change independently.
cordaApiRevision = 17
cordaApiRevision = 17-julia2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll need to rebase and bump the version number.
The suffix will need to be removed as well before merging.

@julia-filipczak julia-filipczak marked this pull request as ready for review December 20, 2023 16:16
@julia-filipczak julia-filipczak requested a review from a team as a code owner December 20, 2023 16:16
…alidation-of-draft-transactions' into juliaf/DA5-22-Distribution-and-Validation-of-draft-transactions
Copy link

github-actions bot commented Jan 5, 2024

This PR is stale because it has been open 7 days with no activity. Remove the Stale label or add a comment - otherwise this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Jan 5, 2024
vlajos
vlajos previously approved these changes Jan 8, 2024
blsemo
blsemo previously approved these changes Jan 8, 2024
Copy link
Contributor

@blsemo blsemo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@julia-filipczak julia-filipczak dismissed stale reviews from blsemo and vlajos via 9159999 January 8, 2024 11:58
Copy link

sonarqubecloud bot commented Jan 8, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@julia-filipczak julia-filipczak merged commit c193e29 into release/os/5.2 Jan 8, 2024
5 checks passed
@julia-filipczak julia-filipczak deleted the juliaf/DA5-22-Distribution-and-Validation-of-draft-transactions branch January 8, 2024 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants